package com.fastloan.jn.mgt.process.service.impl;

import com.fastloan.jn.common.BasicServiceImpl;
import com.fastloan.jn.mgt.process.dao.JnAppApproveLogMapper;
import com.fastloan.jn.mgt.process.model.JnAppApproveLog;
import com.fastloan.jn.mgt.process.model.vo.AppApproveLogVO;
import com.fastloan.jn.mgt.process.service.AppApproveLogService;
import com.kawins.supers.table.manager.DataTable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 审批历史
 *
 * @author chenkai
 *         createTime 2017-02-2017/2/14 10:21
 */
@Service
public class AppApproveLogServiceImpl extends BasicServiceImpl<JnAppApproveLog> implements AppApproveLogService {
    @Autowired
    private JnAppApproveLogMapper appApproveLogDao;

    @Override
    @DataTable(name = "queryApprovalLog")
    public List<AppApproveLogVO> queryApprovalLog(Map<String, Object> map) {
        return appApproveLogDao.queryApprovalLog(map);
    }
}
